package com.ruoyi.jiayou.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 加油站油价对象 cf_petrol_oil
 * 
 * @author zhangbiao
 * @date 2024-06-06
 */
public class CfPetrolOil extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long oilId;

    /** 加油站id */
    @Excel(name = "加油站id")
    private Long petrolId;

    /** 油类型 【数据字典】 */
    @Excel(name = "油类型 【数据字典】")
    private String oilType;

    /** 油价 */
    @Excel(name = "油价")
    private Double oilPrice;

    public void setOilId(Long oilId)
    {
        this.oilId = oilId;
    }

    public Long getOilId()
    {
        return oilId;
    }
    public void setPetrolId(Long petrolId) 
    {
        this.petrolId = petrolId;
    }

    public Long getPetrolId() 
    {
        return petrolId;
    }
    public void setOilType(String oilType) 
    {
        this.oilType = oilType;
    }

    public String getOilType() 
    {
        return oilType;
    }
    public void setOilPrice(Double oilPrice) 
    {
        this.oilPrice = oilPrice;
    }

    public Double getOilPrice() 
    {
        return oilPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getOilId())
            .append("petrolId", getPetrolId())
            .append("oilType", getOilType())
            .append("oilPrice", getOilPrice())
            .toString();
    }
}
